package com.zdzx.model.service.base.result;


import java.io.Serializable;
import java.util.List;

import com.zdzx.model.service.base.vo.Function;
import com.zdzx.model.service.base.vo.User;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;


@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "用户信息", description = "用户信息")
public class UserInfo extends User implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	@ApiModelProperty(value="来源",name="来源")
	private String from;
	
	@ApiModelProperty(value="token",name="token")
	private String token="";
	
	private String role;
	
	@ApiModelProperty(value="总学习时长",name="studyTimeCount")
	private int studyTimeCount=0;
	@ApiModelProperty(value="文章总学习时长",name="articleStudyTimeCount")
	private int articleStudyTimeCount=0;
	List<Function> resouces;
	
	
}
